#define  _CRT_SECURE_NO_WARNINGS 1
#include"list.h"


namespace gyc {
	void teat01()
	{
		list<int> l1;
		l1.push_back(1);
		l1.push_back(2);
		l1.push_back(3);
		l1.push_back(4);

		list<int>::iterator lt = l1.begin();

		while (lt != l1.end())
		{
			cout << *lt << " ";
			++lt;
		}
		cout << endl;
	}

}

int main()
{

	gyc::teat01();
	return 0;
}

